Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Dana Prejipyvergon 24.Nov.03 01:12 PM a Web browser
Applications Development 6.0.2 CF2 Windows 2000


Hi

When transforming some domino xml to another format and I think I may have spotted a bug, but you be the judge.

To see the bug create a form with a single multivalued text field in it.

When you export this document using the java API's Document.generateXML() you expect to see something like:

<item name='Field'>
<textlist>
<text>val1</text>
<text>val2</text>
<text>val3</text>
</textlist>
</item>

And sure enough, this is what you see for the multivalued field. However, if you only add one value (instead of 3) to the multivalued field, you get:

<item name='Field'>
<text>val1</text>
</item>

Now, I don't know about you but I was expecting:

<item name='Field'>
<textlist>
<text>val1</text>
</textlist>
</item>

Surly this is a bug? The field is defined as multivalued and should be that way no matter if the contents are multivalued or not. Agree?

This error is also present if the field is empty.






Bug in Document.generateXML() metho... (~Dana Prejipyve... 24.Nov.03)
. . RE: Bug in Document.generateXML() m... (~Nicole Zenpone... 29.Nov.03)
. . . . RE: Bug in Document.generateXML() m... (~Dana Prejipyve... 1.Dec.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS